package com.tms.businessRole.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
/**
 * Author：潘建冰
 * Package：com.tms.businessRole.bean
 * Project：TaskManageSystem
 * name：BusinessRole
 * Date：2025/3/24  22:48
 */
/**
 * 业务角色表
 * @TableName business_role
 */
@TableName(value ="business_role")
@Data
public class BusinessRole implements Serializable {
    /**
     * 业务角色ID
     */
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 角色名
     */
    @TableField("role_name")
    private String roleName;

    /**
     * 角色编码
     */
    @TableField("role_code")
    private String roleCode;

    /**
     * 状态，0:禁用，1:启用
     */
    @TableField("status")
    private Integer status;

    /**
     * 是否删除，0:否，1:是
     */
    @TableField("is_deleted")
    private Integer isDeleted;

    /**
     * 所属团队ID
     */
    @TableField("team_id")
    private String teamId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
